<?php

namespace Trawind\Basics\Enums;


use Trawind\Basics\Traits\HasEnumerate;

/**
 * Class SystemConstant
 *
 * @package Trawind\Basics\Enums
 */
class SystemConstant
{
    use HasEnumerate;
    
    const STATUS_ENABLE = 10;
    const STATUS_CREATED = 11;
    
    const STATUS_DISABLE = 20;
    
    const STATUS_INVALID = 30;
    const STATUS_COMPLETED = 31;
    const STATUS_CLOSED = 32;
    const STATUS_EXPIRED = 33;
    const STATUS_REFUSED = 34;
    
    const SYSTEM_STATUS_ENUM = [
        'enabled' => self::STATUS_ENABLE,
        'disabled' => self::STATUS_DISABLE,
        'invalid' => self::STATUS_INVALID,
    ];
    

    
    //以下内容第二阶段会陆续清除
    const DISABLE = 10;
    const ENABLE = 11;
    const INVALID = 12;
    
    const STATUS_TYPE_LIST = [
        self::DISABLE => 'disabled',
        self::ENABLE => 'enabled',
        self::INVALID => 'invalid'
    ];
}